replaceTargets
abstract fun replaceTargets(@NonNull transitionObj: Any, oldTargets: ArrayList<View>, newTargets: ArrayList<View>)(source)
This method removes the views from transitions that target ONLY those views and replaces them with the new targets list. The views list should match those added in addTargets and should contain one view that is not in the view hierarchy (state.nonExistentView).